home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Personal Computer World 2009 February
/
PCWFEB09.iso
/
Software
/
Full
/
Paragon Drive Backup 9
/
DB90_SE_x32.msi
/
Data1.cab
/
_EFA766FCA88041B8B70CCC2F3BC401BA
< prev
next >
Wrap
Extensible Markup Language
|
2008-06-28
|
8KB
|
210 lines
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:msxsl="urn:schemas-microsoft-com:xslt"
version="1.0">
<xsl:output
method="html"
version="4.0"
encoding="UTF-8"
omit-xml-declaration="yes"
indent="yes"/>
<xsl:template match="/Root">
<html>
<xsl:variable name="FSName" select="PropertyBag/Property[@name='PROPID_HDM_INTERNALFSNAME']"/>
<TABLE>
<TR>
<TD align="left" colspan="2">
<xsl:choose>
<xsl:when test="$FSName='FREE'">
<h2>QT_TRANSLATE_NOOP("QObject", "Free Space")</h2>
</xsl:when>
<xsl:when test="$FSName='EXTENDED'">
<h2>QT_TRANSLATE_NOOP("QObject", "Extended partition")</h2>
</xsl:when>
<xsl:when test="$FSName='INVALID'">
<h2>QT_TRANSLATE_NOOP("QObject", "Invalid partition")</h2>
</xsl:when>
<xsl:when test="$FSName='BACKUPCAPSULE'">
<h2>QT_TRANSLATE_NOOP("QObject", "Paragon backup capsule")</h2>
</xsl:when>
<xsl:when test="$FSName='NOTFORMATTED'">
<h2>QT_TRANSLATE_NOOP("QObject", "Not formatted partition")</h2>
</xsl:when>
<xsl:otherwise>
<h2><xsl:value-of select="PropertyBag/Property[@name='PROPID_DISPLAYNAME']"/></h2>
</xsl:otherwise>
</xsl:choose>
<img src="hline_gray"/>
</TD>
</TR>
<TR>
<TD align="right">
<nobr><b><xsl:value-of select="PropertyList/Property[@propname='PROPID_HDM_HDDDISKNO']"/></b></nobr>
</TD>
<TD align="left">
<nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_HDDDISKNO']"/></nobr>
</TD>
</TR>
<TR>
<TD align="right">
<nobr><b><xsl:value-of select="PropertyList/Property[@propname='PROPID_HDM_PARTLINUXNO']"/></b></nobr>
</TD>
<TD align="left">
<nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_PARTLINUXNO']"/></nobr>
</TD>
</TR>
<xsl:if test="$FSName != 'UNKNOWN' and $FSName != 'INVALID' and $FSName != 'NOTFORMATTED' and $FSName != 'FREE'">
<TR>
<TD colspan="2">
<img src="hline_gray"/>
</TD>
</TR>
<xsl:if test="$FSName != 'EXTENDED' and $FSName != 'BACKUPCAPSULE'">
<TR>
<TD align="right">
<nobr><b><xsl:value-of select="PropertyList/Property[@propname='PROPID_HDM_VOLUMELABEL']"/></b></nobr>
</TD>
<TD align="left">
<nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_VOLUMELABEL']"/></nobr>
</TD>
</TR>
</xsl:if>
<TR>
<TD align="right">
<nobr><b><xsl:value-of select="PropertyList/Property[@propname='PROPID_HDM_PARTITIONIDSTRING']"/></b></nobr>
</TD>
<TD align="left">
<nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_PARTITIONIDSTRING']"/></nobr>
</TD>
</TR>
<xsl:if test="$FSName != 'EXTENDED'">
<TR>
<TD align="right">
<nobr><b><xsl:value-of select="PropertyList/Property[@propname='PROPID_HDM_SERIALNUMBER']"/></b></nobr>
</TD>
<TD align="left">
<nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_SERIALNUMBER']"/></nobr>
</TD>
</TR>
</xsl:if>
<xsl:if test="$FSName != 'EXTENDED' and $FSName != 'BACKUPCAPSULE'">
<TR>
<TD align="right">
<nobr><b><xsl:value-of select="PropertyList/Property[@propname='PROPID_HDM_BOOTSIZE']"/></b></nobr>
</TD>
<TD align="left">
<nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_BOOTSIZE']"/></nobr>
</TD>
</TR>
<TR>
<TD align="right">
<nobr><b><xsl:value-of select="PropertyList/Property[@propname='PROPID_HDM_CLUSTERSIZE']"/></b></nobr>
</TD>
<TD align="left">
<nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_CLUSTERSIZE']"/></nobr>
</TD>
</TR>
</xsl:if>
</xsl:if>
<TR>
<TD colspan="2">
<img src="hline_gray"/>
</TD>
</TR>
<tr>
<td colspan="2">
<table cellspacing="0" cellpadding="0">
<TR>
<TD width="50%"></TD>
<TD align="right"><b>QT_TRANSLATE_NOOP("QObject", "Sector No:")</b></TD>
<TD align="right"><b>QT_TRANSLATE_NOOP("QObject", "Cyl:")</b></TD>
<TD align="right"><b>QT_TRANSLATE_NOOP("QObject", "Hd:")</b></TD>
<TD align="right"><b>QT_TRANSLATE_NOOP("QObject", "Sec:")</b></TD>
</TR>
<TR>
<TD align="right" width="50%">
<nobr><b><xsl:value-of select="PropertyList/Property[@propname='PROPID_HDM_STARTINSECTORS_STRING']"/></b></nobr>
</TD>
<TD align="right">
<nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_STARTINSECTORS_STRING']"/></nobr>
</TD>
<TD align="right">
<nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_CHS_START_CYL']"/></nobr>
</TD>
<TD align="right">
<nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_CHS_START_HEAD']"/></nobr>
</TD>
<TD align="right">
<nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_CHS_START_SEC']"/></nobr>
</TD>
</TR>
<TR>
<TD align="right" width="50%">
<nobr><b><xsl:value-of select="PropertyList/Property[@propname='PROPID_HDM_ENDINSECTORS_STRING']"/></b></nobr>
</TD>
<TD align="right">
<nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_ENDINSECTORS_STRING']"/></nobr>
</TD>
<TD align="right">
<nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_CHS_END_CYL']"/></nobr>
</TD>
<TD align="right">
<nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_CHS_END_HEAD']"/></nobr>
</TD>
<TD align="right">
<nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_CHS_END_SEC']"/></nobr>
</TD>
</TR>
<TR>
<td>
</td>
</TR>
<TR>
<TD align="right" width="50%">
<nobr><b>QT_TRANSLATE_NOOP("QObject", "Hard disk geometry:")</b></nobr>
</TD>
<TD align="right">
</TD>
<TD align="right">
<nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_CYLINDERS']"/></nobr>
</TD>
<TD align="right">
<nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_HEADS']"/></nobr>
</TD>
<TD align="right">
<nobr><xsl:value-of select="PropertyBag/Property[@name='PROPID_HDM_SECTORSPERTRACK']"/></nobr>
</TD>
</TR>
</table>
</td>
</tr>
</TABLE>
</html>
</xsl:template>
</xsl:stylesheet>